package com.atguigu.ssyx.acl;

import com.atguigu.ssyx.common.config.Swagger2Config;
import com.atguigu.ssyx.common.config.annotation.EnableMybatisPlusConfig;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.discovery.EnableDiscoveryClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Import;

/**
 * @author 杨林
 * @create 2023-07-05 9:15 星期三
 * description:这是启动类
 */
//@Import(MybatisPlusConfig.class)   //引入MybatisPlus配置
@EnableMybatisPlusConfig
@SpringBootApplication
@Import(Swagger2Config.class)
//@Import(CorsConfig.class)
@EnableDiscoveryClient   //用于 nacos 服务发现
public class AclApplication {
    public static void main(String[] args) {
        SpringApplication.run(AclApplication.class,args);
    }
}
